import { ColorEnum, CommonProps, SizeEnum } from '../common';

export interface NagOptions extends CommonProps {
  /**
   * 激活
   */
  active?: boolean;
  /**
   * 持续时长
   */
  duration?: number;
  /**
   * 固定
   */
  fixed?: boolean | 'bottom';
  /**
   * 覆盖
   */
  overlay?: boolean | 'bottom';
  /**
   * 颜色
   */
  color?: ColorEnum;
  /**
   * 深色背景
   */
  inverted?: boolean;
  /**
   * 尺寸大小
   */
  size?: SizeEnum;
  /**
   * 关闭事件
   */
  onClose?: () => void;
}

export type NagTitleOptions = CommonProps;

export type NagGroupOptions = CommonProps;
